<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js" lang="en"> 		   <![endif]-->
<html>
  <head>
    <?php $this->load->view('admin/_html_head') ?>
  </head>
  <body>
    <div id="container">
      <section id="content">	
        <?php $this->load->view('admin/_noscript') ?>
        <?php $this->load->view('admin/_topbar') ?>
        <div class="subbar">
          <div class="wrapper">
            <h2>
              <a href="<?php echo site_url('admin/'.$this->router->fetch_class())?>">
                <?php echo $this->lang->line('label.'.$this->router->fetch_class().'s')?>
              </a></h2>
            <nav id="shortcuts">
              <ul>
                <li>
                  <a href="<?php echo site_url('admin/'.$this->router->fetch_class().'/create')?>" class="add">
                    <?php echo $this->lang->line('label.add.'.$this->router->fetch_class())?></a>
                </li>
                <?php if($this->uri->rsegment(2) == 'create' || $this->uri->rsegment(2) == 'save' ||
                        $this->uri->rsegment(2) == 'edit' || $this->uri->rsegment(2) == 'update' ||
                        $this->uri->rsegment(2) == 'create_copy') { ?>
                <li>
                  <a class="save" onclick="$('form').submit();">
                    <?php echo $this->lang->line('btn.save') ?>
                  </a>
                </li>
                <li>
                  <a class="cancel" href="<?php echo site_url('admin/'.$this->router->fetch_class()) ?>">
                    <?php echo $this->lang->line('btn.cancel') ?></a>
                </li>
                <?php } ?>
              </ul>
            </nav>
          </div>
        </div>
        <div id="content-body">
          <?php $this->load->view('admin/_alert') ?>
          <section class="title">
            <h4><?php echo $this->lang->line('label.'.($this->uri->rsegment(2)== 'index' ? $this->router->fetch_class().'s' : $this->uri->rsegment(2).'.'.$this->router->fetch_class() ))?></h4>            
          </section>
          <section class="item">